package com.vedana.bankmobile.services;

import java.util.List;

import com.vedana.bankmobile.shared.Account;
import com.vedana.bankmobile.shared.Customer;
import com.vedana.bankmobile.shared.Operation;

public interface BankMobileService {

	/**
	 * Get list of operations
	 * 
	 * @param accountKey
	 * @return
	 */
	public abstract List<Operation> getAllOperations(long accountId);

	/**
	 * 
	 * @param userId
	 * @return
	 */
	public abstract List<Customer> getCustomerList(String userId);

	/**
	 * 
	 * @param accountId
	 * @return
	 */
	public abstract List<Account> getAccountList(long customerId);

	/**
	 * Get range of operations for an account
	 * 
	 * @param accountKey
	 * @param start
	 * @param length
	 * @return
	 */
	public abstract List<Operation> getRangeOfOperations(long accountId,
			int start, int length);

}